<template>
    <el-table :data="roleList" v-loading="loading" min-width="100%">
        <el-table-column label="角色名称" prop="name" width="200"></el-table-column>
        <el-table-column label="角色编码" prop="code" width="200"></el-table-column>
        <el-table-column label="创建时间" prop="createTime" width="200"></el-table-column>
        <el-table-column label="状态" prop="name" width="200">
            <template #default="scope">
                <el-tag v-if="scope.row.status === 0" type="warning">禁用</el-tag>
                <el-tag v-else type="success">正常</el-tag>
            </template>
        </el-table-column>
    </el-table>
</template>

<script setup>

let loading = ref(true)


</script>